package com.android.tea;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

public class AboutActivity extends Activity {
	private ImageView btn_back;
	private TextView tea_desc1;
	private TextView tea_desc2;
	private ImageView about_tea_logo;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.about);
		
		btn_back = (ImageView)findViewById(R.id.btn_back);
		btn_back.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				finish();
			}
		});
		about_tea_logo = (ImageView)findViewById(R.id.about_tea_logo);
		about_tea_logo.setImageResource(R.drawable.about_logo);
		
		tea_desc1 = (TextView)findViewById(R.id.tea_desc1);
		tea_desc2 = (TextView)findViewById(R.id.tea_desc2);
		
		tea_desc1.setText("	" + getResources().getString(R.string.tea_desc1));
		tea_desc2.setText("	" + getResources().getString(R.string.tea_desc2));
	}

}
